<template>
  <div class="password">
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: '/' }">主页</el-breadcrumb-item>
      <el-breadcrumb-item>安全管理</el-breadcrumb-item>
      <el-breadcrumb-item>密码重置</el-breadcrumb-item>
    </el-breadcrumb>
    <div class="my-query">
      <el-form size="mini" :model="form" :inline="true">
        <el-form-item label="状态">
          <el-select v-model="value">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            ></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="账号">
          <el-input v-model="u_id"></el-input>
        </el-form-item>
        <el-form-item label="姓名">
          <el-input v-model="u_name"></el-input>
        </el-form-item>
        <el-form-item label>
          <el-button type="primary" icon="el-icon-search">搜索</el-button>
        </el-form-item>
        <el-form-item label>
          <el-button type="danger" icon="el-icon-refresh-right">重置</el-button>
        </el-form-item>

      </el-form>
    </div>
    <div class="my-data">
      <el-table :data="tableData" style="width: 100%">
        <el-table-column prop="u_id" label="账号"></el-table-column>
        <el-table-column prop="u_name" label="姓名"></el-table-column>
        <el-table-column prop="status" label="状态"></el-table-column>
        <el-table-column fixed="right" label="操作" width="100">
          <template slot-scope="scope">
            <el-button @click="handleClick(scope.row.u_id)" type="text" size="mini">重置</el-button>
          </template>
        </el-table-column>
      </el-table>
    </div>
    <div class="my-page">
      <el-pagination
        :page-sizes="[2,3,5,10,15,20,30]"
        layout="sizes, prev, pager,next,jumper, ->, total"
        :total="1000"
      ></el-pagination>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      form: {}
    };
  },
  methods: {},
  mounted() {}
};
</script>


<style scoped>
.password {
  width: 100%;
  height: 100%;
  position: relative;
}
.my-query {
  position: absolute;
  text-align: left;
  left: 0px;
  top: 30px;
  width: 100%;
  height: 50px;
}
.my-data {
  position: absolute;
  top: 80px;
  left: 0px;
  width: 100%;
}
.my-page {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  text-align: left;
}
</style>